Carbon


DriverEntryPointPtr

Header: Devices.h Carbon status: Under Evaluation

typedef OSErr(* DriverEntryPointPtr) (
    AddressSpaceID SpaceID, 
    IOCommandID CommandID, 
    IOCommandContents Contents, 
    IOCommandCode Code, 
    IOCommandKind Kind
);

You would declare your function like this if you were to name it MyCallback:

OSErr MyCallback (
    AddressSpaceID SpaceID, 
    IOCommandID CommandID, 
    IOCommandContents Contents, 
    IOCommandCode Code, 
    IOCommandKind Kind
);
SpaceID
CommandID
Contents
Code
Kind
function result

A result code.

AVAILABILITY

Under evaluation for Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 5/10/2000)